package top.xcxdl.rural.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ding
 * @since 2022-05-07
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@EqualsAndHashCode(callSuper = false)
public class RuralExamination implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 试卷id（作业）
     */
    @TableId(value = "exam_id", type = IdType.AUTO)
    private Integer examId;

    /**
     * 试卷总分如100
     */
    private BigDecimal examTotalScore;

    /**
     * 试卷通过分数
     */
    private BigDecimal examPassScore;

    /**
     * 创建时间（10位时间戳）
     */
    private String createTime;

    /**
     * 修改时间（10位时间戳）
     */
    private String updateTime;

    /**
     * 试卷名称
     */
    private String examName;

    @TableField(exist = false)
    private String questionNum;

    @TableField(exist = false)
    private List<RuralQuestion> list;

    @TableField(exist = false)
    private Double userScore;

    @TableField(exist = false)
    private Integer isPass;
}
